import{sayHi} from'./utils/hello'
import{add,point} from'./utils/add'
export function setupCounter(element: HTMLButtonElement) {
  let counter = 0
  const setCounter = (count: number) => {
    counter = count
    element.innerHTML = `count is ${counter}`
  }
  element.addEventListener('click', () => setCounter(counter + 1))
  setCounter(0)
}

sayHi('')
add(1,2)
point({x:'1',y:'2'})

